use crate::app_error::*;
use axum::{http::StatusCode, response::IntoResponse};
use serde_json::json;
use tracing::{debug, error};

pub async fn handle_404() -> impl IntoResponse {
    (
        StatusCode::NOT_FOUND,
        AppJson(
            json!({ "error": "Not Found", "message": "The requested API endpoint does not exist." }),
        ),
    )
}
